package dk.mirasola.systemtraining.user.shared.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import dk.mirasola.systemtraining.user.shared.transfer.UserDistributionFilterTO;

import java.util.List;
import java.util.Set;

@RemoteServiceRelativePath("userdistributionfilter.rpc")
public interface UserDistributionFilterDataProviderService extends RemoteService {
    int[] initialData();

    List<UserDistributionFilterTO> getUserDistributionFilters(int firstResult, int maxResults);

    String createUserDistibutionFilter(UserDistributionFilterTO userDistributionFilter);

    void deleteUserDistributionFilter(Set<String> userDistributionFilterIds);

    void updateUserDistributionFilter(UserDistributionFilterTO userDistributionFilter);
}
